package com.st.springts.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department {
    private Long id;
    private String name;
    private Long parentId;
    private String description;
    private List<Department> children;

    public Department(){
       this.children= new ArrayList<>();
    }
}
